

enum RelationshipType { FAMILY, RELATIVE, FRIEND, COLLEAGUE; }


class Person {

    protected String name, phoneNumber;
    public Person(String n, String p) {  name = n; phoneNumber = p; }
    public String getName() {return name;}
    public String getPhoneNumber() { return phoneNumber; }
    public String toString() { return String.format("%s (%s)", name, phoneNumber);}
}

public class Contact extends Person implements Comparable<Contact> {
    private RelationshipType relationship = RelationshipType.FRIEND; //greeting for the gift voucher

    public Contact(String name, String phoneNumber,RelationshipType relationship) {
        super(name, phoneNumber);
        this.relationship = relationship;
    }

    @Override
    public int compareTo(Contact o) {
        return 0;
    }
}


